Renamed da-ristorante-api to da-ristorante-api-js#142
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR introduces a new da-ristorante-api-js sample directory (renaming/mirroring the previous da-ristorante-api sample as a TypeScript/Azure Functions + M365 Agents Toolkit project) and updates references/metadata to point at the new sample path.
Changes:
- Added an Azure Functions (TypeScript) backend exposing
GET /dishesandPOST /orders. - Added M365 Agents Toolkit configuration + app package assets (manifest, declarative agent, plugin + OpenAPI spec).
- Updated sample documentation and metadata (README links, sample.json, image URLs) to use
da-ristorante-api-js.
Reviewed changes
Copilot reviewed 6 out of 51 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| samples/da-ristorante-api-js/tsconfig.json | TypeScript compiler configuration for the Azure Functions project. |
| samples/da-ristorante-api-js/src/functions/placeOrder.ts | Implements POST /orders Azure Function for placing orders. |
| samples/da-ristorante-api-js/src/functions/dishes.ts | Implements GET /dishes Azure Function for querying menu items. |
| samples/da-ristorante-api-js/src/data.json | Menu dataset; updates image URLs to the new sample path. |
| samples/da-ristorante-api-js/README.md | Updates documentation links/labels/stats URL for the renamed sample. |
| samples/da-ristorante-api-js/package.json | Node/TypeScript/Azure Functions dependencies and scripts for the sample. |
| samples/da-ristorante-api-js/package-lock.json | Lockfile for Node dependencies. |
| samples/da-ristorante-api-js/m365agents.yml | M365 Agents Toolkit workflow updated to the new sample tag/name. |
| samples/da-ristorante-api-js/m365agents.local.yml | Local workflow updated to the new app name. |
| samples/da-ristorante-api-js/infra/azure.parameters.json | ARM/Bicep deployment parameters for the sample’s Azure resources. |
| samples/da-ristorante-api-js/infra/azure.bicep | Bicep template provisioning the Azure Functions resources. |
| samples/da-ristorante-api-js/host.json | Azure Functions host configuration. |
| samples/da-ristorante-api-js/env/.env.local | Local environment defaults for TeamsFx/M365 Agents Toolkit. |
| samples/da-ristorante-api-js/env/.env.dev | Dev environment template variables for provisioning/deploy. |
| samples/da-ristorante-api-js/cards/order.json | Adaptive Card template for order confirmation. |
| samples/da-ristorante-api-js/cards/order.data.json | Sample data for the order confirmation card. |
| samples/da-ristorante-api-js/cards/dish.json | Adaptive Card template for a dish item. |
| samples/da-ristorante-api-js/cards/dish.data.json | Sample data for the dish card. |
| samples/da-ristorante-api-js/assets/sample.json | Sample catalog metadata updated to the new name/URLs. |
| samples/da-ristorante-api-js/appPackage/outline.png | Teams app icon (outline). |
| samples/da-ristorante-api-js/appPackage/manifest.json | Teams app manifest for the declarative agent package. |
| samples/da-ristorante-api-js/appPackage/instruction.txt | Agent instruction prompt content for menu browsing and ordering. |
| samples/da-ristorante-api-js/appPackage/declarativeAgent.json | Declarative agent definition pointing at instructions and plugin. |
| samples/da-ristorante-api-js/appPackage/color.png | Teams app icon (color). |
| samples/da-ristorante-api-js/appPackage/apiSpecificationFile/ristorante.yml | OpenAPI definition for the plugin runtime. |
| samples/da-ristorante-api-js/appPackage/ai-plugin.json | Copilot plugin definition wiring functions to the OpenAPI spec. |
| samples/da-ristorante-api-js/api.http | Local HTTP request examples for manual API testing. |
| samples/da-ristorante-api-js/.vscode/tasks.json | VS Code tasks for local tunnel, provision, build, and run. |
| samples/da-ristorante-api-js/.vscode/settings.json | VS Code workspace settings for the sample. |
| samples/da-ristorante-api-js/.vscode/launch.json | VS Code debug/launch configurations. |
| samples/da-ristorante-api-js/.vscode/extensions.json | Recommended VS Code extensions for the sample. |
| samples/da-ristorante-api-js/.gitignore | Sample-specific ignore rules (TeamsFx, build output, local configs). |
| samples/da-ristorante-api-js/.funcignore | Azure Functions zip deploy ignore rules. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.